<?php
namespace app\home\model;
use think\Model;

class CourseSlinkModel extends Model
{
	protected $table  = 'qm_course_slink';


	//查找短链
	public function getMemberShortLink($where)
	{
		$info = $this->where($where)->find();
		return $info;
	}



	//添加短链
	public function addShortLink($data)
	{
		$res = $this->insertGetId($data);
		return $res;
	}
}